Save(Graphics, Action<Image<Rgba32>>)

Method

Namespace: Imagini.ImageSharp

Declared in: Imagini.ImageSharp.GraphicsExtensions


Saves the graphics using the specified save action.

Syntax

public static void Save(
	Graphics graphics,
	Action<Image<Rgba32>> onSave
)

Examples

graphics.Save(image => image.SaveAsJpeg("file.jpg"))


Back to index